<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Thymeleaf入门</title>
</head>
<body>
<table border="1">
    <h3>添加用户信息</h3>
    <hr>
    <form th:action="@{/ccc/add}" method="post">
        用户名:<input type="text" name="name"><br>
        性别:<input type="radio" name="sex" th:value="1">男
        <input type="radio" name="sex" th:value="2">女<br>
        年龄:<input type="text" name="age"><br>
        地址：<input type="text" name="address"><br>
        生日：<input type="date" name="birthday"><br>
        爱好：<input type="checkbox" name="hobby" th:value="学习">学习
        <input type="checkbox" name="hobby" th:value="阅读">阅读
        <input type="checkbox" name="hobby" th:value="运动">运动<br>
        <input type="submit" th:value="提交">
        <input type="reset" th:value="重置">
    </form>
</table>
</body>
</html>